<?php
//print_r($array_grouptours);
 ?>
<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<?php include_once 'meta.php';?>

	<link rel="stylesheet" href="<?php echo base_url();?>css/reset.css" type="text/css" media="screen" />

	<!--[if ! lte IE 6]><!-->
	<link rel="stylesheet" href="<?php echo base_url();?>css/style.css" type="text/css" media="screen" />
	<!--<![endif]-->

	<!--[if gt IE 6]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie.css" type="text/css" media="screen" />
	<![endif]-->

	<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie7.css" type="text/css" media="screen" />
	<![endif]-->

	<!--[if lte IE 6]>
	<link rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.1.css" media="screen, projection">
	<![endif]-->

	<link rel="stylesheet" href="<?php echo base_url();?>css/fancybox.css" type="text/css" media="screen" />
</head>
<body>

<!-- header -->
<?php include_once 'header.php';?>
<!--  end header -->


<div id="content">

	<div class="container tours">

		<div id="main">
	 <?php foreach ($array_grouptours as $gt) { 
	 		if(count($gt["tours"])>0){
	 	?>
		<h2 class="group_title" ><?php echo $gt["name"]["name_$lang"]; ?></h2>
		<?php }?>	
			
			<div class="entry collapsible">
			<?php foreach ($gt["tours"] as $t){?>
				<div class="entry-header">

					<a href="<?php echo base_url().$lang."/pages/detailtour/".$t["idweb_travel"]."-tourdetails"?>" title="Agence Wonder Travel|<?php echo $t["name_$lang"]?>" ><img src="http://www.voyagewonder.net/bookingsystem/ssh/webtours-<?php echo $t["idweb_travel"]; ?>.jpg" width="75" height="40" alt="Agence Wonder Travel|<?php echo $t["name_$lang"]?>" title="Agence Wonder Travel|<?php echo $t["name_$lang"]?>" class="entry-title-image"></a>

					<h2 class="title" ><a href="<?php echo base_url().$lang."/pages/detailtour/".$t["idweb_travel"]."-tourdetails"?>" class="linkdetail"><?php echo $t["name_$lang"]?></a></h2>

					<p class="meta"> <a href="javascript:void(0)" style="text-decoration:none;"><?php echo $t["subtitle_$lang"]; ?></a> </p>

					<form action="<?php echo base_url()."reservation/listtours"?>" method="post">
				<input type="hidden" name="code" value="<?php echo $t["bookingcode"];?>"/>
				<input  class="button" type="submit" value="<?php echo lang("booking")?>"/>
				</form>

				</div><!-- end .entry-header -->
			<?php }?>
				


			
		</div><!-- end .entry -->
			<?php } ?>
			

			<ul class="pagination">
				
			</ul>
			
			

		</div><!-- end #main -->

	<!-- slidebar -->
<?php include_once 'slidebar.php';?>	
	<!--  end slidebar  -->

		<div class="clear"></div>

	</div><!-- end .container -->

</div><!-- end #content -->

<!--  footer and footer bottom -->
<?php include_once 'footer.php';?>
<!--  end footer and footer bottom -->


</body>
</html>